package cn.enilu.flash.bean.enumeration;

import lombok.Getter;

public class TypeEnum {

    /**
     * 输入数据的html类型
     */
    public enum DataItemShowType {
        /**
         * 0为文本框；1为下拉框；2为日期框
         */
        TEXT(0), SELECT(1), DATE(2);

        private int value;

        private DataItemShowType(int value) {
            this.value = value;
        }

        public int getValue() {
            return value;
        }

        public void setValue(int value) {
            this.value = value;
        }
    }

    @Getter
    public enum RecordType {
        BLIND_BOX("blind_box", "盲盒"),
        SHOP("shop", "商品"),
        ;
        private String key;
        private String value;

        private RecordType(String key, String value) {
            this.key = key;
            this.value = value;
        }
    }


}
